//
//  KFDHighLowPriceBoard.m
//  KFD
//
//  Created by JIRENTIANXIANG on 7/3/15.
//  Copyright © 2015 kfd. All rights reserved.
//

#import "KFDHighLowPriceBoard.h"
#import "KFDDetailedMarketPrice.h"

@interface KFDHighLowPriceBoard ()

@property (weak, nonatomic) IBOutlet UILabel *highPriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *lowPriceLabel;

@end

@implementation KFDHighLowPriceBoard

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

-(void)setPrice:(KFDDetailedMarketPrice *)price
{
    _price=price;
    self.highPriceLabel.text=price.high_price;
    self.lowPriceLabel.text=price.low_price;
}

@end
